﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true" CodeFile="WIN21_4A.aspx.cs" Inherits="IFRS_WIN21_4A" %>

<%@ Register Assembly="vsm.WebControls" Namespace="vsm.WebControls" TagPrefix="vsm" %>
<%@ Register Assembly="vsm.CustomControl" Namespace="vsm.CustomControl" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />   
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <div class="table_detail"> 
            <div class="rowinfo">
                <div class="collabel_single">
                    <asp:Label ID="lblTransactionDate" runat="server" Text="<%$Resources:ifrsField,DATE_TRANSACTION%>" />&nbsp;:&nbsp;
                </div>
                <div class="colinfo_single">
                    <asp:TextBox ID="txtTransactionDate" CssClass="datepicker" SkinID="dateText" 
                        runat="server" onblur="datebox_onblur( this, event );" ></asp:TextBox>
                    <span class="red">*</span>
                    <asp:RequiredFieldValidator ID="reqTransactionDate" runat="server" ErrorMessage=""
                        ControlToValidate="txtTransactionDate" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>
            </div>            
            <div class="rowinfo">                        
                <div class="collabel_single">
                    <asp:Label ID="lblSourceData" runat="server" Text="<%$Resources:ifrsField,SourceData%>" />&nbsp;:&nbsp;
                </div>                                    
                <div class="colinfo_single">
                    <asp:DropDownList ID="ddlSourceData" runat="server" SkinID="DropDownListWithNoColor" />
                    <span class="red">*</span>
                    <asp:RequiredFieldValidator ID="reqSourceData" runat="server" ErrorMessage=""
                        ControlToValidate="ddlSourceData" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>
            </div> 
             <div class="rowinfo">
                <div class="collabel_single">
                    <asp:Label ID="lblAccountNo" runat="server" Text="<%$Resources:ifrsField,AccountNo_ContractNumber%>" />&nbsp;:&nbsp;
                </div>
                <div class="colinfo_single">
                    <asp:TextBox ID="txtAccountNo" runat="server" SkinID="TextBoxWithNoColor"></asp:TextBox>
                    <span class="red">*</span>
                    <asp:RequiredFieldValidator ID="reqAccountNo" runat="server" ErrorMessage=""
                        ControlToValidate="txtAccountNo" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="rowinfo">
                <div class="collabel_single">
                    <asp:Label ID="lblModelPriceValue" runat="server" Text="<%$Resources:ifrsField,ModelPriceValue%>" />&nbsp;:&nbsp;
                </div>
                <div class="colinfo">                        
                    <cc1:TextboxNumber ID="txtModelPriceValue" runat="server" SkinID="TextBoxWithNoColor" 
                        MaxLength="10" DigitDecimal="2" TypeTextbox="Currency" />
                    <asp:Label ID="lblBAHT" runat="server" Text="<%$Resources:ifrsField,BAHT%>" />&nbsp;
                    <span class="red">*</span>
                    <asp:RequiredFieldValidator ID="reqModelPriceValue" runat="server" ErrorMessage=""
                        ControlToValidate="txtModelPriceValue" Display="Dynamic"></asp:RequiredFieldValidator>
                </div>                       
            </div>     
            <div class="colbtn">
                <asp:Button ID="btnSAVE_NEW" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,SAVE_NEW%>" onclick="btnSAVE_NEW_Click" />&nbsp;
                <asp:Button ID="btnSAVE" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,SAVE%>" onclick="btnSAVE_Click" />&nbsp;
                <asp:Button ID="btnCLEAR" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,CLEAR%>" OnClick="btnCLEAR_Click" />&nbsp;
                <asp:Button ID="btnCANCEL" SkinID="NormalButton" runat="server" Text="<%$Resources:ifrsButton,CANCEL%>" onclick="btnCANCEL_Click" />
            </div>
        </div>
    </div>    
    <asp:HiddenField ID="hidModelPriceID" runat="server" />
    <asp:HiddenField ID="hidUpdateDate" runat="server" />    

    <script src="../Content/js/Currency.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="../Content/plugins/custom.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function () {
            $(".datepicker").initDatepicker();
        });
    </script>
</asp:Content>

